// 结构化-添加数据源
jghsjy = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: 'IP：',
    value: 'ip',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入IP',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '端口：',
    value: 'dk',
    tagParams: {
      width: '100%',
      precision: 0,
      controls: false,
      step: 1,
      min: 0,
    },
    tag: 'inputnumber',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '用户名：',
    value: 'yhm',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
    isNumber: true,
  },
  {
    name: '密码：',
    value: 'mm',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入密码',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
    isPhone: true,
  },
  {
    name: '模式：',
    value: 'msm',
    tag: 'select',
    rules: {
      required: true,
      trigger: 'change',
      message: '请选中模式',
    },
    allowCreate: true,
    disabled: false,
    suffixText: '加载',
    suffixType: 'button',
    // 后置按钮回调
    suffix: [
      {
        name: 'clearFormValue',
        value: ['msm'],
      },
    ],
    // 对外抛出方法
    maxLength: '70',
    url: 'querySjymsm',
    // 接口入参校验
    methodsParams: [
      {
        name: 'lxdm',
        required: false,
      },
      {
        name: 'lxmc',
        required: false,
      },
      {
        name: 'ip',
        required: true,
      },
      {
        name: 'dk',
        required: true,
      },
      {
        name: 'yhm',
        required: true,
      },
      {
        name: 'mm',
        required: true,
      },
    ],
    // 接口模块
    apiServeName: 'sjygl',
    placeholder: '请选择',
  },
  {
    name: '描述：',
    value: 'bz',
    tag: 'textarea',
    required: false,
    rows: 4,
    trigger: 'blur',
    message: '请输入描述',
    disabled: false,
    maxLength: '1000',
    placeholder: '请输入',
  },
]
// 结构化人大金仓
jghsjyrdjc = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: 'IP：',
    value: 'ip',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入IP',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '端口：',
    value: 'dk',
    tagParams: {
      width: '100%',
      precision: 0,
      controls: false,
      step: 1,
      min: 0,
    },
    tag: 'inputnumber',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '用户名：',
    value: 'yhm',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
    isNumber: true,
  },
  {
    name: '密码：',
    value: 'mm',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入密码',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
    isPhone: true,
  },
  {
    name: '库名：',
    value: 'km',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入库名',
    },
    trigger: 'blur',
    disabled: false,
    maxLength: '20',
    placeholder: '请输入库名',
  },
  {
    name: '模式：',
    value: 'msm',
    tag: 'select',
    rules: {
      required: true,
      trigger: 'change',
      message: '请选中模式',
    },
    allowCreate: true,
    disabled: false,
    suffixText: '加载',
    suffixType: 'button',
    // 后置按钮回调
    suffix: [
      {
        name: 'clearFormValue',
        value: ['msm'],
      },
    ],
    // 对外抛出方法
    maxLength: '70',
    url: 'querySjymsm',
    // 接口入参校验
    methodsParams: [
      {
        name: 'lxdm',
        required: false,
      },
      {
        name: 'lxmc',
        required: false,
      },
      {
        name: 'km',
        required: true,
      },
      {
        name: 'ip',
        required: true,
      },
      {
        name: 'dk',
        required: true,
      },
      {
        name: 'yhm',
        required: true,
      },
      {
        name: 'mm',
        required: true,
      },
    ],
    // 接口模块
    apiServeName: 'sjygl',
    placeholder: '请选择',
  },
  {
    name: '描述：',
    value: 'bz',
    tag: 'textarea',
    required: false,
    rows: 4,
    trigger: 'blur',
    message: '请输入描述',
    disabled: false,
    maxLength: '1000',
    placeholder: '请输入',
  },
]
// 非结构化-添加数据源
fjghsjy = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: '服务器地址：',
    value: 'url',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入服务器地址',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    lbbm: '',
    placeholder: '请输入',
  },
  {
    name: '端口：',
    value: 'dk',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    placeholder: '请输入',
  },
  {
    name: '用户名：',
    value: 'yhm',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    placeholder: '请输入',
  },
  {
    name: '密码：',
    value: 'mm',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入密码',
    },
    placeholder: '请输入密码',
  },
  {
    name: '描述:',
    value: 'bz',
    tag: 'textarea',
    required: false,
    rows: 4,
    trigger: 'blur',
    message: '请输入描述',
    disabled: false,
    maxLength: '1000',
    placeholder: '请输入',
  },
]
// 非结构化-本地文件
fjghbdwj = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: '文件夹：',
    value: 'directory',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入文件夹',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
]
// 非结构化-sftp
fjghsftp = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: '地址：',
    value: 'hostName',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入地址',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入地址',
  },
  {
    name: '用户名：',
    value: 'username',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    disabled: false,
    maxLength: '70',
  },
  {
    name: '密码：',
    value: 'password',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入文件存储地址',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    lbbm: '',
    placeholder: '请输入',
  },
  {
    name: '端口：',
    value: 'port',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    placeholder: '请输入端口',
  },
  {
    name: '文件夹：',
    value: 'directory',
    tag: 'input',
    placeholder: '请输入文件夹',
  },
]
// 非结构化-minio
fjghminio = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: '地址：',
    value: 'endPoint',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入地址',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入地址',
  },
  {
    name: '用户名：',
    value: 'ak',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入用户名',
  },
  {
    name: '"密码：',
    value: 'sk',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入密码',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入密码',
  },
  {
    name: '端口：',
    value: 'port',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    placeholder: '请输入端口',
  },
  {
    name: '桶名：',
    value: 'bucketName',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入桶名',
    },
    placeholder: '请输入桶名',
  },
]
// 消息中间件-添加数据源
xxzjjsjy = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: 'mq地址：',
    value: 'url',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入mq地址',
    },
    disabled: false,
    placeholder: '请输入',
  },
  {
    name: 'GroupID：',
    value: 'groupId',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入GroupID',
    },
    disabled: false,
    placeholder: '请输入',
  },
  // {
  //   name: '主题：',
  //   value: 'zt',
  //   tag: 'select',
  //   multiple: false,
  //   collapseTags: false,
  //   disabled: false,
  //   lbbm: 'querySjymsm',
  //   // 接口入参校验
  //   methodsParams: [
  //     {
  //       name: 'lxdm',
  //       required: false,
  //     },
  //     {
  //       name: 'lxmc',
  //       required: false,
  //     },
  //     {
  //       name: 'url',
  //       required: true,
  //     },
  //   ],
  //   // 接口模块
  //   apiServeName: 'sjygl',
  //   placeholder: '请选择',
  //   suffixText: '加载',
  //   suffixType: 'button',
  // },
  {
    name: '描述:',
    value: 'bz',
    tag: 'textarea',
    required: false,
    rows: 4,
    trigger: 'blur',
    message: '请输入描述',
    disabled: false,
    maxLength: '1000',
    placeholder: '请输入',
  },
]
// 归档日志-添加数据源
gdrzsjy = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: 'IP：',
    value: 'ip',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入IP',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '端口：',
    value: 'dk',
    tagParams: {
      width: '100%',
      precision: 0,
      controls: false,
      step: 1,
      min: 0,
    },
    tag: 'inputnumber',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '用户名：',
    value: 'yhm',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    placeholder: '请输入',
  },
  {
    name: '密码：',
    value: 'mm',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入密码',
    },
    placeholder: '请输入密码',
  },
  {
    name: '模式：',
    value: 'msm',
    tag: 'select',
    rules: {
      required: true,
      trigger: 'change',
      message: '请选中模式',
    },
    disabled: false,
    allowCreate: true,
    suffixText: '加载',
    suffixType: 'button',
    // 后置按钮回调
    suffix: [
      {
        name: 'clearFormValue',
        value: ['msm'],
      },
    ],
    // 对外抛出方法
    maxLength: '70',
    url: 'querySjymsm',
    // 接口入参校验
    methodsParams: [
      {
        name: 'lxdm',
        required: false,
      },
      {
        name: 'lxmc',
        required: false,
      },
      {
        name: 'ip',
        required: true,
      },
      {
        name: 'dk',
        required: true,
      },
      {
        name: 'yhm',
        required: true,
      },
      {
        name: 'mm',
        required: true,
      },
    ],
    // 接口模块
    apiServeName: 'sjygl',
    placeholder: '请选择',
  },
  {
    name: '描述：',
    value: 'bz',
    tag: 'textarea',
    required: false,
    rows: 4,
    trigger: 'blur',
    message: '请输入描述',
    disabled: false,
    maxLength: '1000',
    placeholder: '请输入',
  },
]
// 归档日志-oracle
gdrzoracle = [
  {
    name: '数据源名称：',
    value: 'sjymc',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入数据源名称',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '请输入',
  },
  {
    name: 'IP：',
    value: 'ip',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入IP',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '端口：',
    value: 'dk',
    tagParams: {
      width: '100%',
      precision: 0,
      controls: false,
      step: 1,
      min: 0,
    },
    tag: 'inputnumber',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入端口',
    },
    disabled: false,
    maxLength: '70',
    placeholder: '',
    id: '0',
  },
  {
    name: '用户名：',
    value: 'yhm',
    tag: 'input',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入用户名',
    },
    placeholder: '请输入',
  },
  {
    name: '密码：',
    value: 'mm',
    tag: 'inputPassword',
    rules: {
      required: true,
      trigger: 'blur',
      message: '请输入密码',
    },
    placeholder: '请输入密码',
  },
  {
    name: '模式：',
    value: 'msm',
    tag: 'select',
    rules: {
      required: true,
      trigger: 'change',
      message: '请选中模式',
    },
    disabled: false,
    allowCreate: true,
    suffixText: '加载',
    suffixType: 'button',
    // 后置按钮回调
    suffix: [
      {
        name: 'clearFormValue',
        value: ['msm'],
      },
    ],
    // 对外抛出方法
    maxLength: '70',
    url: 'querySjymsm',
    // 接口入参校验
    methodsParams: [
      {
        name: 'lxdm',
        required: false,
      },
      {
        name: 'lxmc',
        required: false,
      },
      {
        name: 'ip',
        required: true,
      },
      {
        name: 'dk',
        required: true,
      },
      {
        name: 'yhm',
        required: true,
      },
      {
        name: 'mm',
        required: true,
      },
    ],
    // 接口模块
    apiServeName: 'sjygl',
    placeholder: '请选择',
  },
  {
    name: '描述：',
    value: 'bz',
    tag: 'textarea',
    required: false,
    rows: 4,
    trigger: 'blur',
    message: '请输入描述',
    disabled: false,
    maxLength: '1000',
    placeholder: '请输入',
  },
]
